﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.Web.Http;

namespace ProgrammerToolsKits.Interface
{
    public class DownloadService : INetworkService
    {
        HttpClient http = new HttpClient();

        #region INetworkService
        async public Task<string> GetHtml(string address)
        {
            return await http.GetStringAsync( new Uri( address ) );
        }
        #endregion


    }
}
